<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>表格标签</title>
    <style>
        table{
            border-collapse: collapse;
        }
    </style>
</head>
<body>

<table border="1px" width="500px" height="300px">
    <caption><h2>三年二班成绩表</h2></caption>
    <thead>
        <tr>
            <th>姓名</th>
            <th>班级</th>
            <th>成绩</th>
        </tr>
    </thead>
    <tbody>
        <tr>
            <td>张三</td>
            <td rowspan="2">三年级二班</td>
            <td>98</td>
        </tr>
        <tr>
            <td>莉丝</td>

            <td>99</td>
        </tr>
    </tbody>
    <tfoot>
        <tr>
            <td>评语</td>
            <td colspan="2">三好学生</td>

        </tr>
    </tfoot>
</table>
</body>
</html>